<div class="web_header">
	<div class="web_header_block">
		<div class="web_logo_block f_left">
			<a href="<?php echo HTTP_SERVER.DIR_WS_CATALOG ?>"><?php echo zen_image($template->get_template_dir(HEADER_LOGO_IMAGE, DIR_WS_TEMPLATE, $current_page_base,'images',"logo"). '/' . HEADER_LOGO_IMAGE, HEADER_ALT_TEXT)?></a>
		</div>
		<div class="logo_block_r">
			<div style="float:left;font-size:12px;">
				<span><a href="<?php echo HTTP_SERVER . DIR_WS_CATALOG ?>"><?php echo HEADER_TITLE_CATALOG; ?></a></span>
				<span style="margin:0 5px">|</span>
			<?php if ($_SESSION['customer_id']) { ?>
			    <span style="margin-left:5px;"><a href="<?php echo zen_href_link(FILENAME_ACCOUNT, '', 'SSL'); ?>"><?php echo HEADER_TITLE_MY_ACCOUNT; ?></a></span>
			    <span style="margin:0 5px">|</span>
			    <span style="margin-left:5px;"><a href="<?php echo zen_href_link(FILENAME_LOGOFF, '', 'SSL'); ?>"><?php echo HEADER_TITLE_LOGOFF; ?></a></span>
				<span style="margin:0 5px">|</span>
				<span><a href="<?php echo zen_href_link(FILENAME_SHOPPING_CART)?>">Shopping Items:<?php echo $_SESSION['cart']->count_contents().'-'.$currencies->display_price($_SESSION['cart']->show_total(),0);?></a></span>
			<?php
			      } else {
			        if (STORE_STATUS == '0') {
			        	$content = '';
						$content = zen_draw_form('login', zen_href_link(FILENAME_LOGIN, 'action=process', 'SSL'), 'post', 'id="loginForm"'); 
						$content .= '<label>'.ENTRY_EMAIL_ADDRESS.'</label>';
						$content .= zen_draw_input_field('email_address', '', 'size="18" id="login-email-address" style="width:90px;"');
						$content .= '<label>'.ENTRY_PASSWORD.'</label>';
						$content .= zen_draw_password_field('password', '', 'size="18" id="login-password" style="width:90px;"');;
//						$content .= '<div><a href="' . zen_href_link(FILENAME_PASSWORD_FORGOTTEN, '', 'SSL') . '">' . TEXT_PASSWORD_FORGOTTEN . '</a></div>';
//						$content .= '<div><a href="'.zen_href_link(FILENAME_LOGIN,'','SSL').'">'.TEXT_CREATE_ACCOUNT.'</a></div>';
						$content .= zen_draw_input_field("submit","login","","submit");
						$content .= '</form>';
						$content .= '<span><a href="'.zen_href_link(FILENAME_LOGIN,'','SSL').'">'.TEXT_CREATE_ACCOUNT.'</a></span>';
						
						echo $content;
			?>
			<?php } } ?>	
			</div>
		</div>
		<div class="web_clear"></div>
	</div>
	<div class="web_mainnav"><?php require($template->get_template_dir('tpl_modules_categories_tabs.php',DIR_WS_TEMPLATE, $current_page_base,'templates'). '/tpl_modules_categories_tabs.php'); ?><div class="clearBoth"></div></div>
	<div class="mainnav_block">
		<?php require(DIR_WS_MODULES.zen_get_module_directory('currencies_header.php')); ?>
		<div class="nav_search">
		<?php require(DIR_WS_MODULES.zen_get_module_directory('search_header.php')); ?>
		</div>
	</div>
</div>